package class_loader;

import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) throws Exception {
		while(true) {
			ClassLoader loader = new MyClassLoader(new String[] { "/home/muzv/epam_pre_prod/workspace/ClassLoader/bin/" });
			Class clazz = Class.forName("class_loader.TestModule", true, loader);
			Object object = clazz.newInstance();
			System.out.println(object);
			new BufferedReader(new InputStreamReader(System.in)).readLine();
		}

	}

}
